﻿Partial Public Class BubblingEvents

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
        Debug.WriteLine("Button Handler: " & e.OriginalSource.ToString & ", Is Handled: " & e.Handled.ToString)
        e.Handled = False
    End Sub

    Private Sub gridLayoutRoot_Button_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
        Debug.WriteLine("Grid Handler: " & e.OriginalSource.ToString & ", Is Handled: " & e.Handled.ToString)
    End Sub

    Private Sub Window_Button_Click(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs)
        Debug.WriteLine("Window Handler: " & e.OriginalSource.ToString & ", Is Handled: " & e.Handled.ToString)
    End Sub
End Class
